#include<stdio.h>

int main(void)
{
int x;

	printf("Enter an integer number :");
	scanf("%d",&x);

	if(x%5==0&&x%3==0)
{printf ("the number %d is divisible by both 3 and 5",x);
	}
	
   
	else if(x%3==0&&x%5!=0)
 {	printf ("the number %d is divisible by  3 but not 5",x);
	}

	
	else if(x%5==0&&x%3!=0)
{	printf ("the number %d is divisible by  5 but not 3",x);
	}

	else
	printf("The number %d is neither divisible by 3 nor by 5",x);
	
	return 0;
}
